/*
 * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Unlicense OR CC0-1.0
 */
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "driver/rmt_tx.h"
#include "esp_random.h"
#include "bootloader_random.h"


void rng_init(void)
{
    bootloader_random_enable();
}

uint32_t rng_get_random_num(void)
{
    return esp_random();
}

